package com.cyt.work.question.model.po;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * 问卷题目选项表
 *
 * @author concong tao
 * @since 2019-01-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "cyt_question_subject_select")
public class QuestionSubjectSelect implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String applyId;

    /**
     * 问卷主键
     */
    private String questionId;

    /**
     * 题目主键
     */
    private String subjectId;

    /**
     * 选项名称
     */
    private String title;

    /**
     * 选项，如A，B，C
     */
    private String num;

    /**
     * 得分
     */
    private Double score;

    @Transient
    private String selectCount;
}
